from django.db import models
from apps.common.base.models import BaseModel
from apps.system.form.models import Form

class FormRecord(BaseModel):

    form = models.ForeignKey(Form, related_name='form_formRecord', verbose_name='表单', on_delete=models.SET_NULL, null=True, blank=True, db_constraint=False)
    content = models.TextField("内容", max_length=10000, null=True, blank=True, default='')

    class Meta:
        verbose_name = 'FormRecord'
        verbose_name_plural = verbose_name
